﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using CriptoHash.Connection;

namespace CriptoHash.View
{
    public partial class TipoAplicacaoForm : Form
    {
        public TipoAplicacaoForm()
        {
            InitializeComponent();
        }

        private void btnCliente_Click(object sender, EventArgs e)
        {
            Conector.DEBUG = true;

            AplicacaoCliente aplicacao1 = new AplicacaoCliente(this);
            aplicacao1.Show();

            this.Hide();
        }

        private void btnServidor_Click(object sender, EventArgs e)
        {
            Conector.DEBUG = true;

            AplicacaoServidor aplicacao2 = new AplicacaoServidor(this);
            aplicacao2.Show();
            this.Hide();
        }
    }
}
